<template>
    <view>
        <view class="smart-page-head">
            <view class="smart-page-head-title">rich-text富文本编辑</view>
        </view>
        <view>
            <rich-text :nodes="strings"></rich-text>
        </view>
    </view>
</template>

<script>
    export default{
        data(){
            return{
                strings:'<div style="color:red";>ok<img src="/static/1.jpg"></div>'
            }
        },
        methods:{
            
        }
</script>